

//方式二 实现Runnable接口
public class Sxfs implements Runnable{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+":我跑完了");
    }
}
